package com.yuyou.fn.settlement.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * pos支付记录
 *
 */
@TableName(value = "pos_pay_record")
public class PosPayRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public  enum STATUS {
		初始,已扫码,已支付,已撤销
	}

	public static Example<PosPayRecord> createExample(){
		return new Example<PosPayRecord>(PosPayRecord.class);
	}

	/**  */
	@TableId(value = "request_pay_id")
	private Long requestPayId;

	/**  */
	@TableField(value = "bus_order_id")
	private Long busOrderId;

	/**  */
	@TableField(value = "charge_campus_id")
	private Long chargeCampusId;

	/** 金额 */
	private BigDecimal amount;

	/** 业务类型：0-课程收费；1-充值 */
	@TableField(value = "bus_type")
	private Integer busType;

	/** 状态： 0-初始；1-已扫码；1-已支付； */
	private Integer status;

	/** 附加信息 */
	private String extra;

	@TableField(value = "pos_info")
	private String posInfo ;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

    public String getPosInfo() {
        return posInfo;
    }

    public void setPosInfo(String posInfo) {
        this.posInfo = posInfo;
    }

    public Long getChargeCampusId() {
		return chargeCampusId;
	}

	public void setChargeCampusId(Long chargeCampusId) {
		this.chargeCampusId = chargeCampusId;
	}

	public Long getRequestPayId() {
		return this.requestPayId;
	}

	public void setRequestPayId(Long requestPayId) {
		this.requestPayId = requestPayId;
	}

	public Long getBusOrderId() {
		return this.busOrderId;
	}

	public void setBusOrderId(Long busOrderId) {
		this.busOrderId = busOrderId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getBusType() {
		return this.busType;
	}

	public void setBusType(Integer busType) {
		this.busType = busType;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getExtra() {
		return this.extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
